package bb.lanxing.view.dialog

import android.view.View
import androidx.fragment.app.DialogFragment

class CommonDialogFragment(layoutRes: Int, private var mViewListener: ViewListener? = null) : BaseDialogFragment(layoutRes) {

  override fun bindView(view: View, dialogFragment: DialogFragment) {
    mViewListener?.bindView(view, dialogFragment)
  }

  interface ViewListener {
    fun bindView(v: View, dialogFragment: DialogFragment)
  }
}